<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <title><#if title??><@title/></#if> - 模板</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
<#include "css.ftl"/>

<#-- 每个页面可自定义的css样式 -->
<#if style??><@style/></#if>


</head>

<body class="no-skin">

<#assign menus=[
{"id": "用户管理", "name": "用户管理", "class": "menu-icon fa fa-user", "submenu": [
{"id": "用户信息管理", "name": "用户信息管理", "url": "${base}/account/user/list"},
{"id": "密码修改", "name": "密码修改", "url": "${base}/account/user/changepwd"}
]}
]/>

<!-- #section:basics/navbar.ftl -->
<@shiro.user>
    <#include "navbar.ftl"/>
</@shiro.user>
<!-- /section:basics/navbar.ftl -->


<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <!-- #section:basics/sidebar -->
<@shiro.user>
    <#include "sidebar.ftl"/>
</@shiro.user>
    <!-- /section:basics/sidebar -->

    <div class="main-content">
        <div class="main-content-inner">

        <@body/>

        </div>
    </div>
    <!-- /.main-content -->

    <div class="footer">
        <div class="footer-inner">
            <!-- #section:basics/footer -->
            <div class="footer-content">
                <span class="bigger-110">
                    <span class="blue bolder">模板</span>
                    Application &copy; 2013-2014
                </span>
            </div>
            <!-- /section:basics/footer -->
        </div>
    </div>

    <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
        <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
    </a>
</div>
<!-- /.main-container -->

<#include 'js.ftl'/>

<script type="text/javascript">
    $(function () {
        // 固定顶部标题栏
        ace.settings.navbar_fixed(document.getElementById('navbar'), true, true);
    });
</script>

<#-- 每个页面可自定义的JS -->
<#if script??><@script/></#if>

</body>
</html>
